package com.daixin.mybatis.domain;

import java.io.Serializable;
import java.util.List;

/**
 * Author daixin
 */
public class Salary  implements Serializable {
    private Integer sid;
    private Integer userid;
    private Double salary;
    private User user;

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;

    }

    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getUserid() {
        return userid;
    }

    public void setUserid(Integer userid) {
        this.userid = userid;
    }

    public Double getSalary() {
        return salary;
    }

    public void setSalary(Double salary) {
        this.salary = salary;
    }


    @Override
    public String toString() {
        return "Salary{" +
                "sid=" + sid +
                ", userid=" + userid +
                ", salary=" + salary +
                '}';
    }
}
